import React from "react"
// import Navbar from "./NavBar.js"
import { NavBar, Icon } from 'antd-mobile';
import {withRouter} from "react-router-dom";

class Zuijing_Navbar extends React.Component {

  goback(props){
    this.props.history.goBack()
    // console.log(222)
  }
  // goPlay(){
  //   this.props.history.push("/playmusic")
  // }
  render() {
      return (
          <div>
            <NavBar
              style={{backGround:'white'}}
              mode="dark"
              icon={<Icon type="left"  onClick={this.goback.bind(this)} style={{width:"30px",height:"30px",zIndex:2}}/>}

        
              rightContent={[
              <Icon key="1" style={{
                width: '22px',
                height: '22px',
                background: 'url('+require("../../../../static/icon/nav_play.png")+') center center /  21px 21px no-repeat'
                ,zIndex:2
              }}
              // onClick={this.goPlay.bind(this)}
              />,
              ]}
            >最近播放
            </NavBar>
          </div>
      )
  }
}

export default withRouter(Zuijing_Navbar)

